<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>

<link rel="stylesheet" type="text/css" href='<s:url value="/css/header.css" />'>

	<div id="header">
		
		<div class="exit">
			<s:if test=" #session.user == null || #session.user.size() == 0 ">
				<a href="login-login" target="_self">登陆</a>
				<a href="ssh-input" target="_self">注册</a>											
			</s:if>
			<s:else>
				<a href="login-logout">登出</a>
			</s:else>
				<a href="new-index" target="_self">首页</a>
				<a href='<s:url value="/views/about.jsp" />' target="_blank">关于</a>
		</div>
	</div>